﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BUS;
using DTO;

namespace NGU.WUC
{
    public partial class right1 : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {            

            if (Session["ID"] != null)
            {
                this.login_box.Controls.Clear();
                WUC.logged_box tb = LoadControl("logged_box.ascx") as WUC.logged_box;
                this.login_box.Controls.Add(tb);
                Session.Add((Session.Count + 1).ToString(), tb);
            }
        }
    }
}